package com.splic.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.splic.common.annotation.Excel;
import lombok.Data;
import com.splic.common.core.domain.BaseEntity;

/**
 * 用户血糖数据对象 t_user_bloodsugar_data
 * 
 * @author singe
 * @date 2022-01-04
 */
@Data
public class UserBloodsugarData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 测量时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "测量时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date measureTime;

    /** 测量值 */
    @Excel(name = "测量值")
    private Long measureValue;

    /** 测量时点：空腹/餐后 */
    @Excel(name = "测量时点：空腹/餐后")
    private String measureTimeType;

    /** 测量方式[人工/设备] */
    @Excel(name = "测量方式[人工/设备]")
    private String measureMode;

    /** 测量设备 */
    @Excel(name = "测量设备")
    private String measureDevice;

    /** 测量位置 */
    @Excel(name = "测量位置")
    private String measureLocation;

    /** 记录时经度 */
    @Excel(name = "记录时经度")
    private BigDecimal longitude;

    /** 记录时纬度 */
    @Excel(name = "记录时纬度")
    private BigDecimal latitude;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;


}
